package demo3;

import org.springframework.stereotype.Component;

@Component("winter")
public class Sweater implements Clothes{
    public void wear() {
        System.out.println("穿上毛衣");
    }
}
